package com.ymatou.iapi.productmanager.service;

import java.util.Map;

import org.json.JSONObject;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.business.YmatouAutoTestCall;
import com.ymttest.utils.EnvSetup;
import com.ymttest.utils.MapUtil;
import com.ymttest.utils.compare.CallAPI;

public class GetNewProductDescriptionInfoCall extends YmatouBaseCall {
	private static String opurl ="api/SellerProduct/GetNewProductDescriptionInfo";

	public GetNewProductDescriptionInfoCall() {
		super(EnvSetup.getSystemUrl("productmanager"),opurl,"GET","PARAM");
	}
//	public GetNewProductDescriptionInfoCall(String systemUrl) {
//		super(systemUrl,opurl,"POST","JSON");
//	}
	
	public void addDefHeader() {
		client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
	
	
//	public static void main(String[] args) {
//		GetNewProductDescriptionInfoCall aCall = new GetNewProductDescriptionInfoCall();
//		aCall.callAndGetReturnData(MapUtil.hashMap("ProductId","ffccfb53-b0bd-4104-8ebb-498d708adfe9","UserId",20336378));
//	}
//
//
//	@Override
//	public JSONObject callAndReturn(Map<String, Object> paramMap) {
//		return this.callAndGetReturnData(paramMap);
//	}


//	@Override
//	public String getApiName() {
//		return "GetNewProductDescriptionInfo";
//	}
}
